
import Vue from 'vue'
import App from './App'
import router from './router'//自动扫描路由的配置（路由的配置文件如果是index.js）
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'//elementui让样式更加的漂亮
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios);

Vue.prototype.$axios = axios;


Vue.config.productionTip = false;

Vue.use(ElementUI);
new Vue({
  el: '#app',
  router,
  render: h => h(App)
});
